const format = require('date-format')
console.log(format('hh:mm:ss', new Date()));